package com.li.springbootproject.mapper;

import java.util.List;

import com.li.springbootproject.domain.test.MdOrg;
import com.li.springbootproject.domain.test.OrgTempDO;
import org.apache.ibatis.annotations.Update;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 8/4/2022 8:39 AM
 */
public interface InsertTestMapper {

    void insertMdOrgBatch(List<MdOrg> orgList);

    void insertOrgTempBatch(List<OrgTempDO> orgTempList);

    void createOrgTempTable();

    List<OrgTempDO> list();

    @Update({"drop table if exists orgtemp"})
    void dropTable();

}
